package com.gxa.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author MacieSerenity
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("预约设置信息实体（预约负责人）")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"})
public class SysReservationSet {
  @ApiModelProperty("预约设置信息的唯一ID")
  private Integer id;
  @ApiModelProperty("可预约负责人的ID")
  private Integer userId;
  @ApiModelProperty("可预约天数")
  private Integer days;
  @ApiModelProperty("人数限制")
  private Integer numberLimit;
  @ApiModelProperty("当前状态（0可预约  1不可预约）")
  private Byte status;
  @ApiModelProperty("当前已预约人数")
  private Integer nowNumber;
  @ApiModelProperty("创建时间")
  private java.sql.Timestamp createTime;
  @ApiModelProperty("更新时间")
  private java.sql.Timestamp updateTime;
  @ApiModelProperty("是否删除 0 未删除，1已删除")
  private Byte isDeleted;


  @ApiModelProperty("负责人实体，用于存储负责人信息")
  private SysUser sysUser;
}
